<%@ page import="taxi.Motorista" %>



<div class="fieldcontain ${hasErrors(bean: motoristaInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="motorista.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${motoristaInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: motoristaInstance, field: 'tipoCarro', 'error')} required">
	<label for="tipoCarro">
		<g:message code="motorista.tipoCarro.label" default="Tipo Carro" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="tipoCarro" required="" value="${motoristaInstance?.tipoCarro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: motoristaInstance, field: 'telefone', 'error')} required">
	<label for="telefone">
		<g:message code="motorista.telefone.label" default="Telefone" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="telefone" required="" value="${motoristaInstance?.telefone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: motoristaInstance, field: 'categoria', 'error')} required">
	<label for="categoria">
		<g:message code="motorista.categoria.label" default="Categoria" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="categoria" required="" value="B"/>
</div>

<div class="fieldcontain ${hasErrors(bean: motoristaInstance, field: 'tipotaxi', 'error')} required">
	<label for="tipotaxi">
		<g:message code="motorista.tipotaxi.label" default="Tipotaxi" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="tipotaxi" name="tipotaxi.id" from="${taxi.Tipotaxi.list()}" optionKey="id" required="" value="${motoristaInstance?.tipotaxi?.id}" class="many-to-one"/>
</div>

